#include<iostream>

#include"Epoll.hpp"


int main(int argn,char* argv[])
{
    if(2!=argn)
    {
        printf("Usage error:%s\nUsage: %s port\n",argv[0],argv[0]);
        exit(-1);
    }
    EpollServer server(htons(std::stoi(argv[1])));
    server.Start();

    return 0;
}